#!/bin/bash
set -euo pipefail
BaseDir=$(cd "$(dirname "$0")"; pwd)
cd ${BaseDir}

echo "第一次运行..."
# 需要openssh
git config --global user.name "wushifeng"
git config --global user.email "wushifengcn@qq.com"
git config --global core.filemode false
git config --global core.ignorecase false
git config --global core.autocrlf input

git remote add origin git@gitee.com:wushifeng/marscode.git
# git push -u origin master

echo "done"